package com.my.chapter15;

public class practice16 {
    static SixTuple f(){
        return new SixTuple(1,1.0,'c',"str",true,new Morton());
    }

    public static void main(String[] args) {
        System.out.println(f());
    }
}

class Tuple2{
    public static <A,B> TwoTuple<A,B> tuple(A a,B b){
        return new TwoTuple<>(a,b);
    }

    public static <A,B,C> ThreeTuple<A,B,C> tuple(A a,B b,C c){
        return new ThreeTuple<>(a,b,c);
    }

    public static <A,B,C,D,E,F> SixTuple<A,B,C,D,E,F> tuple(A a,B b,C c,D d,E e,F f){
        return new SixTuple<>(a,b,c,d,e,f);
    }
}
